/*
 * @Author: sdq 483657864@qq.com
 * @Date: 2025-03-08 17:01:02
 * @LastEditors: sdq 483657864@qq.com
 * @LastEditTime: 2025-04-18 16:18:04
 * @FilePath: \ranyu_anchor_new\src\store\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import type { App } from "vue";
import { createPinia } from "pinia";

const store = createPinia();

// 全局注册 store
export function setupStore(app: App<Element>) {
  app.use(store);
}

export * from "./modules/app";
export * from "./modules/permission";
export * from "./modules/settings";
export * from "./modules/tags-view";
export * from "./modules/user";
export * from "./modules/dict";
export * from "./modules/IM";
export * from "./modules/agroa";
export { store };
